﻿
    using Chain.BLL;
    using Chain.Model;
    using System;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;

    public partial class productdetail : Page
    {
  
        private Chain.BLL.ProductCenter ProductCenterBll = new Chain.BLL.ProductCenter();

        protected void Page_Load(object sender, EventArgs e)
        {
            int ProductID = Convert.ToInt32(base.Request["ProductID"]);
            Chain.Model.ProductCenter ProductCenterModel = this.ProductCenterBll.GetModel(ProductID);
            this.imgProduct.Src = ProductCenterModel.ProductPhoto;
            this.pProductdetailExplanation.InnerHtml = ProductCenterModel.ProductDesc;
        }
    }


